#include<iostream>
#include<math.h>
using namespace std;

int main(){
    double r;
    int n;
    cin >> r >> n;

    cout << pow(r,n) << endl;
    return 0;
}

